﻿@{
    ViewBag.Title = "Acerca de";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
    <h2>@ViewBag.Message</h2>
</hgroup>

@{
    ICE.Vacations.DataBase.SQLDataClass sql = new ICE.Vacations.DataBase.SQLDataClass();

   // sql.getConsecutivo()
    
    }


<form name="cosa" action=@Url.Action("CrearSolicitud", "Home", "Home") method="POST" >
     
     <table style="vertical-align:middle;" >

    <td width="180px">ID Solicitud:</td> <td width="225px">@Html.TextBox("requestID",@sql.getConsecutivo(), new { style="width:200px;",@readonly= "readonly" })</td> <tr style="height:50px;" />

    <td width="180px">Usuario:</td> <td width="225px">@Html.TextBox("user",@User.Identity.Name, new { style="width:200px;",@readonly= "readonly" })</td> <tr style="height:50px;" />

    <td width="180px">Cédula:</td> <td width="225px">@Html.TextBox("txtEmployeeID","", new { style="width:400px;" })</td> <tr style="height:50px;" />

    <td width="180px">Primer Apellido:</td><td width="225px">@Html.TextBox("txtApellido1","", new { style="width:400px;",@readonly= "readonly" })</td> <tr style="height:50px;" />

    <td width="180px">Segundo Apellido:</td> <td width="225px">@Html.TextBox("txtApellido2","", new { style="width:400px;",@readonly= "readonly" }) </td><tr style="height:50px;" />

    <td width="180px">Nombre:</td> <td>@Html.TextBox("txtemployeeName","", new { style="width:400px;",@readonly= "readonly" })</td> <tr style="height:50px;"/>

    <td width="180px">Email:</td> <td width="225px">@Html.TextBox("eMail","", new { style="width:200px;"})</td> <tr style="height:50px;"/>
    
    <td width="180px">CódigoCentro funcional:</td> <td width="25px"> @Html.TextBox("txtcodCF","", new { style="width:200px;" })   @Html.TextBox("txtcodDireccion","", new { style="width:200px;" }) </td>   <tr style="height:50px;"/>
    
    <td width="180px">Año:</td> <td width="225px">@Html.TextBox("year",@DateTime.Now.Year, new { style="width:200px;",@readonly= "readonly" })</td> <tr style="height:50px;"/>

    <td width="180px">Fecha:</td> <td>@Html.TextBox("txtDate",@DateTime.Now.ToString("MM/dd/yyyy"), new { style="width:200px;" , @readonly= "readonly"})</td>  <tr style="height:50px;"/>

    <td width="180px">Cantidad días disponibles:</td> <td width="225px">@Html.TextBox("totalAvailableDays","", new {style="width:200px;",@readonly= "readonly" })</td> <tr style="height:50px;"/>

    <td width="180px">Fecha Inicio:</td> <td width="225px">@Html.TextBox("txtDateFrom","", new { style="width:200px;" })</td> <tr style="height:50px;"/>

    <td width="180px">Fecha Fin:</td> <td width="225px">@Html.TextBox("txtDateTo","", new { style="width:200px;"})</td> <tr style="height:50px;"/>

    <td width="180px">Cantidad días solicitados:</td><td width="225px">@Html.TextBox("totalRequestedDays","", new { style="width:200px;",@readonly= "readonly" })</td> <tr style="height:50px;"/>

    <td width="180px">Comentarios:</td><td width="225px">@Html.TextArea("comments","", new { style="width:200px;"})</td> <tr style="height:100px;" />
    <td width="180px">Jefe:</td><td width="225px">@Html.TextBox("managerID","", new { style="width:200px;",@readonly= "readonly" })</td> <tr style="height:50px;"/>
    <td width="120px">Tipo:</td><td width="225px">@Html.TextBox("tipo","", new { style="width:200px;",@readonly= "readonly" })</td><tr style="height:50px;"/>
 
    
         </table>
        
           
            
    <input type="submit" value="Guardar" style="width:100px"/></br>
</form>
